home *** CD-ROM | disk | FTP | other *** search
/ All for Cell Phones: Sony Ericsson / Sony-Ericsson 2004.iso / Java / Ghostrun / ghostrun.jar / c.class (.txt) < prev    next >
Encoding:
Java Class File  |  2002-04-10  |  1023 b   |  44 lines

  1. import java.util.TimerTask;
  2.  
  3. // $FF: renamed from: c
  4. public class class_0 extends TimerTask {
  5.    // $FF: renamed from: a b
  6.    public b field_0;
  7.    // $FF: renamed from: b int
  8.    public int field_1;
  9.  
  10.    public class_0(b var1) {
  11.       this.field_0 = var1;
  12.       this.field_1 = 0;
  13.    }
  14.  
  15.    public void run() {
  16.       this.field_1 += 50;
  17.       switch (this.field_0.a) {
  18.          case 0:
  19.             if (this.field_1 >= 1500) {
  20.                this.field_0.a = 1;
  21.                this.field_0.addCommand(this.field_0.f);
  22.                this.field_0.addCommand(this.field_0.g);
  23.                this.field_0.addCommand(this.field_0.h);
  24.                this.field_0.addCommand(this.field_0.i);
  25.                this.field_0.addCommand(this.field_0.j);
  26.                this.field_0.a();
  27.             }
  28.             break;
  29.          case 2:
  30.             if (this.field_0.t >= this.field_0.e / 2) {
  31.                this.field_0.n.cancel();
  32.                this.field_0.l.c();
  33.             } else {
  34.                b var10000 = this.field_0;
  35.                var10000.t = (short)(var10000.t + this.field_0.e / 15);
  36.                var10000 = this.field_0;
  37.                var10000.u = (short)(var10000.u + this.field_0.d / 15);
  38.                this.field_0.a();
  39.             }
  40.       }
  41.  
  42.    }
  43. }
  44.